package com.example.literaturesystem.service.category.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.literaturesystem.dao.category.ICategoryDao;
import com.example.literaturesystem.domain.base.BaseModel;
import com.example.literaturesystem.domain.category.Category;
import com.example.literaturesystem.service.category.ICategorySrevice;

/**
*@author LMR
*@data 2018年1月30日下午8:39:09
*/
@Service("ICategorySrevice")
public class CategoryServiceImpl implements ICategorySrevice{

	@Autowired
    private ICategoryDao categoryDao;
	
	@Override
	public List<Category> queryCategory() {
		// TODO Auto-generated method stub
		return this.categoryDao.queryCategory();
	}

	@Override
	public List<Category> queryMajor(BaseModel model) {
		// TODO Auto-generated method stub
		return this.categoryDao.queryMajor(model);
	}

}
